function checkCurrNav(){
	$("#pageNav>ul>li>a").each(function() {
		if ($(this).attr("href").toLowerCase().replace(/\/|[&#].*/g,"") == document.URL.toLowerCase().replace(/\/|[&#].*/g,"")){
			$(this).attr("class","nav-current");
		}
	});
}
checkCurrNav();
$("#pageNav>ul>li>a").hover(function(){
	$("#pageNav>ul>li>a.nav-current").removeAttr("class");
	$(this).attr("class","nav-current");
},function(){
	$(this).removeAttr("class");
	checkCurrNav();
});
